package bigraph.model;

import java.util.ArrayList;
import java.util.List;

public class Link {
	
	private List<List<Node>>arrayOfLinks;
	
	public Link(int links) {
		arrayOfLinks=createLinks(links);
	}
	
	private List<List<Node>> createLinks(int links) {
		ArrayList<List<Node>> arrayOfLinks = new ArrayList<List<Node>>(links);
		for(int i = 0; i < links; i++) {
			arrayOfLinks.add(new ArrayList<Node>());
		}
		return arrayOfLinks;
	}
	
	
}
